package com.zjhn.ds.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zjhn.ds.domain.dto.pc.SpinnerDto;
import com.zjhn.ds.domain.entity.jlw.Spinner;
import com.zjhn.ds.domain.vo.SpinnerVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author sxt
 * @since 2023-09-01 16:29:09
 */
public interface SpinnerMapper extends BaseMapper<Spinner> {

    IPage<SpinnerVo> getSpinnerPage(
            IPage<SpinnerDto> page,
            @Param("search") String search,
            @Param("spinnerId") List<String> spinnerId,
            @Param("workshopId") String workshopId
    );
}
